_find_package(PThreads4W)
set(PTHREAD_INCLUDE_DIR "${PThreads4W_INCLUDE_DIR}")
set(PTHREAD_LIBRARY "${PThreads4W_LIBRARY}")
set(PTHREAD_LIBRARIES "${PThreads4W_LIBRARY}")
set(PTHREAD_VERSION "${PThreads4W_VERSION}")
set(LIBPTHREAD "${PThreads4W_LIBRARY}")
set(LIBPTHREADS "${PThreads4W_LIBRARY}")

if(PThreads4W_FOUND)
  set(PTHREAD_FOUND TRUE)
  set(LIBPTHREAD_FOUND TRUE)
  set(LIBPTHREADS_FOUND TRUE)
endif()
